<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>index</title>
</head>
<body>
    <h1>Hello</h1>
    <a href="/logout">logout</a>
    <hr>
    <ul>
        <!-- 要拿值就 user.values() -->
        <!-- 要拿key就 user.keys() -->
        <!-- 要拿k、v就 user.items() -->
        {% for k,v in user_dict.items() %}
            <li>{{ v.name }} <a href="/detail?uid={{ k }}">查看详情</a></li><br>
        {% endfor %}
    </ul>
</body>
</html>